package cn.mavor.day0903;

public class numbers7 {
    public static void main(String[] args){
        int i;
        int j = 0;
        for(i = 1; i < 1000; i++){
            if(i%7 == 0){
                System.out.println(i+" ");
                j++;
            }
        }System.out.println("故1000内能被7整除的数一共有"+j+"个");
    }
}
